import {defineStore} from "pinia";

export const useTimetableStore = defineStore({
    id: 'timetable-store',
    state: () => {
        return {
            timetable: {},
            timetablenext: {}

        }
    },
    getters: {
        timetableGetter: (state) => state.timetable
    },
    actions: {
        set(tt, ttn) {
            this.timetable = tt
            this.timetablenext = ttn

        },
    }
})